import sys
import os

# 获取项目根目录 (不这么搞的话，下面无法导包不了 
project_root = os.path.abspath(os.path.join(os.path.dirname(__file__), '../src'))
sys.path.insert(0, project_root)
print(f'项目根目录 方便import测试: {project_root}')



print(sys.path)
from config import Bert_Config
params = Bert_Config()
# sys.path.insert(0, r'E:\Project\other_code\bert-text-classification\src')

